<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<h2>Books:</h2>
<div>
	<ul class="style1">
		<c:forEach var="book" items="${books}">
			<li>
				<h3>
					<em><img src="<spring:url value="/resources/images/${book.key.image}"/>" alt="" width="130"
						height="130" class="alignleft border" /></em>
					<spring:url value="/admin/book/${book.key.id}" var="book_url" />
				<a href="${book_url}"><c:out value="${book.key.name}" /></a>
				</h3>
					<strong>Author:  </strong>
					<c:out value="${book.key.author}" /><br />
					<strong>Genre:  </strong>
					<c:out value="${book.key.genre}" /><br />
					<strong>Description:  </strong>
					<c:out value="${book.key.description}" /><br />
					<strong>Available:  </strong>
					<c:out value="${book.value}" />
			</li>
		</c:forEach>
	</ul>
</div>